package com.wsdcd.zlg.model.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
	private Integer id;
	private String username;
	private String password;
	private String nickname;
	private Boolean sex;
	private Integer age;

	public User(String username, String password, String nickname, boolean sex, int age) {
		this.username = username;
		this.password = password;
		this.nickname = nickname;
		this.sex = sex;
		this.age = age;
	}
}